package com.lenovo.locationmanager;


import java.io.Serializable;
import java.util.List;

/**
 * @ProjectName: GpsAutoTest
 * @Package: com.lenovo.locationmanager
 * @ClassName: SatelliteResult
 * @Description: SatelliteResult类作用描述
 * @Author: kgzhou
 * @CreateDate: 2019/7/19 13:43
 * @UpdateUser: kgzhou
 * @UpdateDate: 2019/7/19 13:43
 * @UpdateRemark: 更新说明：
 * @Version: 1.0
 */
public class SatelliteResult implements Serializable {
    private List<GpsSatellite> gpsSatellites;
    private int maxSatellite = -1;

    public List<GpsSatellite> getGpsSatellites() {
        return gpsSatellites;
    }

    public void setGpsSatellites(List<GpsSatellite> gpsSatellites) {
        this.gpsSatellites = gpsSatellites;
    }

    public int getMaxSatellite() {
        return maxSatellite;
    }

    public void setMaxSatellite(int maxSatellite) {
        this.maxSatellite = maxSatellite;
    }

    @Override
    public String toString() {
        return "SatelliteResult{" +
                "gpsSatellites=" + gpsSatellites.toString() +
                ", maxSatellite=" + maxSatellite +
                '}';
    }

    public void clear() {
        maxSatellite = -1;
        gpsSatellites = null;
    }
}
